﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Mvc.Models
{
    public class Branch
    {
        [Key]
        public int BranchId { get; set; }
        [Display(Name = "Nombre de la regional")]
        [Required(ErrorMessage = "El nombre es requerido")]
        public string nombre { get; set; }
        [Display(Name = "Còdigo")]
        public string codigo { get; set; }
        [Display(Name = "Direcciòn")]
        public string direccion { get; set; } 
    }
}